package com.engine4cloud.tdf.education.dto.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 学习记录表
 *
 * @author wenjie
 * @date 2024-08-15 15:06:54
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "学习记录表")
public class EduLearningRecordResultDTO extends CreateTimeResultDTO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 记录编号
     */
    @Schema(description = "记录编号")
    private String code;

    /**
     * 任务编号
     */
    @Schema(description = "任务编号")
    private String taskCode;

    /**
     * 矫正对象编号
     */
    @Schema(description = "矫正对象编号")
    private String studentCode;

    /**
     * 矫正对象姓名
     */
    @Schema(description = "矫正对象姓名")
    private String studentName;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    /**
     * 已学时长
     */
    @Schema(description = "已学时长")
    private BigDecimal duration;

    /**
     * 应学时长
     */
    @Schema(description = "应学时长")
    private BigDecimal periods;
}